package com.xl.bean;

import java.io.Serializable;
/**
 * 登陆信息封装类
 * @author 深圳-夕落  2014-11-25
 *
 */
public class Login implements BaseModel{


	public Login()
	{
		
	}
	
	public Login(String userName,String password)
	{
		this.password = password;
		this.userName = userName;
	}
	
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 登陆密码
	 */
	private String password;
	
	public String getUserName() {
		return userName;
	}
	
	
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String toString(){
		
		return "用户名:"+ this.getUserName() +" \t 密码：" +this.getPassword(); 
	}

}
